package site.wuao.simpledesignmode.builder;

/**
 * 客户端调用导演类
 *
 * @author wuao
 * @date 2018.04.16
 * @note -
 * ---------------------------------------------------------------------------------------------------------------------
 * @modified -
 * @date -
 * @note -
 */
public class CreateComputer {
    public static void main(String[] args) {
        Builder builder = new MoonComputerBuilder();
        Director director = new Director(builder);
        director.createComputer("1", "2", "3");


//        Builder builder = new MoonComputerBuilder();
//        builder.buildCpu("cpu");
//        builder.buildMainboard("mainboard");
//        builder.buildRam("ram");
//        builder.create();
//        Director director = new Director(builder);
    }
}
